package exceptions;

public class DataException extends Throwable{
	String description;
	String className;
	public DataException (String description, String className){
		this.description = description;
		this.className = className;
	}
	public String getDescription() {
		return description;
	}
	public String getClassName() {
		return className;
	}
	public String getMessage() {
		return description + " casued by " + className;
	}

}
